0.0
NA
CVE-2022-50402
drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()
Description

In the Linux kernel, the following vulnerability has been resolved: drivers/md/md-bitmap: check the return value of md_bitmap_get_counter() Check the return value of md_bitmap_get_counter() in case it returns NULL pointer, which will result in a null pointer dereference. v2: update the check to include other dereference

INFO

Published Date :

Sept. 18, 2025, 4:15 p.m.

Last Modified :

Sept. 18, 2025, 4:15 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2022-50402 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Apply kernel patches to prevent null pointer dereference issues.
  • Update the Linux kernel to a patched version.
  • Apply the specific fix for md_bitmap_get_counter().
  • Verify the return value of md_bitmap_get_counter().
  • Ensure null pointers are handled correctly.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-50402 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-50402 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-50402 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-50402 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Sep. 18, 2025

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: drivers/md/md-bitmap: check the return value of md_bitmap_get_counter() Check the return value of md_bitmap_get_counter() in case it returns NULL pointer, which will result in a null pointer dereference. v2: update the check to include other dereference
    Added Reference https://git.kernel.org/stable/c/100caacfa0ed26e061954c90cdc835d42f709536
    Added Reference https://git.kernel.org/stable/c/21e9aac9a74d30907d44bae0d24c036cb3819406
    Added Reference https://git.kernel.org/stable/c/3bd548e5b819b8c0f2c9085de775c5c7bff9052f
    Added Reference https://git.kernel.org/stable/c/5d8d046f3dba939e74e2414f009df426700430ed
    Added Reference https://git.kernel.org/stable/c/99bef41f8e8d1d52b5cb34f2f193f1346192752b
    Added Reference https://git.kernel.org/stable/c/b621d17fe8b079574c773800148fb86907f3445d
    Added Reference https://git.kernel.org/stable/c/ff3b7e12bc9f50de05c9d82b5b79e23e5be888f1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
No CVSS metrics available for this vulnerability.